<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<f:view contentType="text/html">
	<h:head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>JSF 2, Spring Web Flow, and PrimeFaces Showcase</title>
		<link rel="stylesheet"
			href="${request.contextPath}/app/resources/styles/blueprint/screen.css"
			type="text/css" media="screen, projection" />
		<link rel="stylesheet"
			href="${request.contextPath}/app/resources/styles/blueprint/print.css"
			type="text/css" media="print" />
		<!--[if lt IE 8]>
		<link rel="stylesheet" href="${request.servletPath}/styles/blueprint/ie.css" type="text/css" media="screen, projection" />
	<![endif]-->
		<ui:insert name="headIncludes" />
	</h:head>
	<h:body>
		<div class="container">
			<div>
				<h1></h1>
				<h3 class="alt">
					<ui:insert name="title" />
				</h3>
				<hr />
			</div>
			<div>
				<ui:insert name="notes" />
			</div>
			<div>
				<h:form>

					<p:growl id="messages" />
					<p:menubar>
						<p:submenu label="File" icon="ui-icon-document">
							<p:submenu label="New" icon="ui-icon-contact">
								<p:menuitem value="Project" url="#" />
								<p:menuitem value="Other" url="#" />
							</p:submenu>
							<p:menuitem value="Open" url="#" />
							<p:separator />
							<p:menuitem value="Quit" url="#" />
						</p:submenu>

						<p:submenu label="Edit" icon="ui-icon-pencil">
							<p:menuitem value="Undo" url="#"
								icon="ui-icon-arrowreturnthick-1-w" />
							<p:menuitem value="Redo" url="#"
								icon="ui-icon-arrowreturnthick-1-e" />
						</p:submenu>

						<p:submenu label="Help" icon="ui-icon-help">
							<p:menuitem value="Contents" url="#" />
							<p:submenu label="Search" icon="ui-icon-search">
								<p:submenu label="Text">
									<p:menuitem value="Workspace" url="#" />
								</p:submenu>
								<p:menuitem value="File" url="#" />
							</p:submenu>
						</p:submenu>

						<p:submenu label="Actions" icon="ui-icon-gear">
							<p:submenu label="Ajax" icon="ui-icon-refresh">
								<p:menuitem value="Save" actionListener="#{menuBean.save}"
									icon="ui-icon-disk" update="messages" />
								<p:menuitem value="Update" actionListener="#{menuBean.update}"
									icon="ui-icon-arrowrefresh-1-w" update="messages" />
							</p:submenu>
							<p:submenu label="Non-Ajax" icon="ui-icon-newwin">
								<p:menuitem value="Delete" actionListener="#{menuBean.delete}"
									icon="ui-icon-close" update="messages" ajax="false" />
							</p:submenu>
						</p:submenu>

						<p:menuitem value="Quit" url="http://www.primefaces.org"
							icon="ui-icon-close" />

						<f:facet name="options">
							<p:inputText style="margin-right:10px" />
							<p:commandButton type="button" value="Logout"
								icon="ui-icon-extlink" />
						</f:facet>
					</p:menubar>



				</h:form>
			</div>
			<div>
				<ui:insert name="content" />
			</div>
		</div>
	</h:body>
</f:view>
</html>
